package me.zhengjie.modules.transfer.factory.service.Impl;

import lombok.Data;
import lombok.RequiredArgsConstructor;
import me.zhengjie.modules.sequence.domain.Sequence;
import me.zhengjie.modules.sequence.service.SequenceService;
import me.zhengjie.modules.transfer.domain.TransferIc65;
import me.zhengjie.modules.transfer.domain.TransferIc69;
import me.zhengjie.modules.transfer.domain.TransferIc71;
import me.zhengjie.modules.transfer.domain.TransferIc89;
import me.zhengjie.modules.transfer.factory.service.TransferContactService;
import me.zhengjie.modules.transfer.factory.service.TransferPersonService;
import me.zhengjie.modules.transfer.factory.service.TransferProcessService;
import me.zhengjie.modules.transfer.factory.vo.*;
import me.zhengjie.modules.transfer.service.TransferIc65Service;
import me.zhengjie.modules.transfer.service.TransferIc69Service;
import me.zhengjie.modules.transfer.service.TransferIc71Service;
import me.zhengjie.modules.transfer.service.TransferIc89Service;
import me.zhengjie.tool.DateUtil;
import me.zhengjie.tool.MyMap;
import me.zhengjie.tool.NPETool;
import me.zhengjie.tool.ValidateUtil;
import me.zhengjie.vo.Constant;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

@Data
@Service
@RequiredArgsConstructor
public class TransferContactServiceImpl implements TransferContactService {


    private final SequenceService sequenceService;
    private final TransferIc89Service transferIc89Service;
    private final TransferIc65Service transferIc65Service;
    private final TransferIc69Service transferIc69Service;
    private final TransferIc71Service transferIc71Service;
    private final TransferProcessService transferProcessService;
    private final TransferPersonService transferPerson;


    /**
     * 主键id
     */
    protected String contactKey;

    /**
     * 联系函编号
     */
    protected String aae270;

    /**
     * 账户类型
     */
    protected String aae473;

    /**
     * 联系函信息
     */
    protected ContactInfo contactInfo;


    /**
     * 联系函信息
     */
    protected MyMap orginfoin;

    /**
     * 申请信息
     */
    protected MyMap orginfoout;

    /**
     * 是否上传标志
     * <p>
     * 后期加入，不传此参数，默认为上传，传入此参数，并值为2为不传
     */
    protected String isUpload;


    /**
     * 人员编号
     */
    protected String aac001;

    /**
     * 转出人员编号
     */
    protected String aac319;

    /**
     * 转入险种类型
     */
    protected String aae140;

    /**
     * 转出险种类型
     */
    protected String aae241;

    /**
     * 转移数据来源
     */
    protected String aac306;

    /**
     * 上传方经办人
     */
    protected String aae736;

    /**
     * 上传方经办时间
     */
    protected String aae739;

    /**
     * 联网下载标志
     */
    protected String aae732;
    /**
     * 业务环节
     */
    protected String aae803;

    /**
     * 业务环节状态
     */
    protected String aae158;

    /**
     * 户籍地址
     */
    protected String aac010;

    /**
     * 业务类型编码
     */
    protected String aaa121;
    /**
     * 人员信息
     */
    protected TransferPersonInfo transferPersonInfo;


    /**
     * 转移制度方向
     */
    protected String aic113;

    /**
     * 业务日志号
     */
    protected String aaz002;
    /**
     * 经办人
     */
    protected String aae011;
    /**
     * 经办机构
     */
    protected String aab359;

    /**
     * 人员信息
     */
    protected MyMap transferPersons;




    @Override
    public Map TransferContactOut(MyMap myMap) {

        this.aac306 = Constant.AAC306_2_YD;
        this.aaz002 = myMap.getAsString("aaz002");
        this.aic113 = myMap.getAsString("aic113");
        this.aac001 = myMap.getAsString("aac001");


        this.aae736 = myMap.getAsString("aae736");
        this.aae739 = myMap.getAsString("aae739");
        this.aae732 = myMap.getAsString("aae732");
        this.aac010 = myMap.getAsString("aac010");


        this.aae011 = myMap.getAsString("aae011");
        this.aab359 = myMap.getAsString("aab359");

        getAae140Aae241();

            this.transferPersons = transferPerson.getTransferPerson(myMap.getAsString("aac001"), this.aae241);


        MyMap orginfoinZt = new MyMap((Map) myMap.get("orginfoin"));
        NPETool.isEmptyThrowException(orginfoinZt, "联系函信息");
        this.orginfoin = orginfoinZt;

        this.aae158 = Constant.AAE158_0_YSC;

        //保存联系函
        createContactInfo(myMap);
        return null;
    }





    @Override
    public Map TransferContactIn(MyMap myMap) {

        this.aac306 = Constant.AAC306_1_BD;
        this.aaz002 = myMap.getAsString("aaz002");
        this.aic113 = myMap.getAsString("aic113");
        this.aac001 = myMap.getAsString("aac001");


        this.aae736 = myMap.getAsString("aae736");
        this.aae739 = myMap.getAsString("aae739");
        this.aae732 = myMap.getAsString("aae732");
        this.aac010 = myMap.getAsString("aac010");


        this.aae011 = myMap.getAsString("aae011");
        this.aab359 = myMap.getAsString("aab359");

        getAae140Aae241();

            this.transferPersons = transferPerson.getTransferPerson(myMap.getAsString("aac001"), this.aae140);


        NPETool.isEmptyThrowException(myMap.getAsString("aac306"), "数据来源");

        MyMap orginfoinZt = new MyMap((Map) myMap.get("orginfoin"));
        NPETool.isEmptyThrowException(orginfoinZt, "联系函信息");
        this.orginfoin = orginfoinZt;

        this.aae158 = Constant.AAE158_0_YSC;

        //保存联系函
        createContactInfo(myMap);
        return null;
    }

    @Override
    public Map TransferContactRevoke(MyMap myMap) {
        String aic1131 = myMap.getAsString("aic113");
        HashMap map = new HashMap<>();
        map.put("aaz002",aaz002);
        switch (aic1131) {
            case Constant.AIC113_1_QYZGYLBXZDNZY:
                transferIc89Service.removeByMap(map);

                break;
            case Constant.AIC113_2_QYZGYLBXZDZJGSYDWYLBXZD:
                transferIc65Service.removeByMap(map);
                break;
            case Constant.AIC113_3_JGSYDWYLBXZDZQYZGYLBXZD:
                transferIc65Service.removeByMap(map);
                break;
            case Constant.AIC113_6_JGSYDWYLBXZDNZY:
                transferIc65Service.removeByMap(map);
                break;
            case Constant.AIC113_4_QYZGYLBXZDZCXJMJBYLZD:
                transferIc71Service.removeByMap(map);
                break;
            case Constant.AIC113_9_ZYNJZY:
                transferIc69Service.removeByMap(map);
                break;
            case Constant.AIC113_10_ZYNJZY:
                transferIc69Service.removeByMap(map);
                break;
            default:
                throw new IllegalArgumentException("没有获取到对应的转出类型！");
        }

        return null;
    }

    public Map createContactInfo(MyMap myMap) {


        switch (this.aic113) {
            case Constant.AIC113_1_QYZGYLBXZDNZY:
                createIc89(orginfoin);
              //  this.contactInfo = new Ic89Info(orginfoin);

                myMap.put("bae038","IC89");

                break;
            case Constant.AIC113_2_QYZGYLBXZDZJGSYDWYLBXZD:
                createIc65(orginfoin);

                myMap.put("bae038","IC65");
                break;
            case Constant.AIC113_3_JGSYDWYLBXZDZQYZGYLBXZD:
                createIc65(orginfoin);

                myMap.put("bae038","IC65");
                break;
            case Constant.AIC113_6_JGSYDWYLBXZDNZY:
                createIc65(orginfoin);

                myMap.put("bae038","IC65");
                break;
            case Constant.AIC113_4_QYZGYLBXZDZCXJMJBYLZD:
                createIc71(orginfoin);

                myMap.put("bae038","IC71");
                break;
            case Constant.AIC113_9_ZYNJZY:
                createIc69(orginfoin);

                myMap.put("bae038","IC69");
                break;
            case Constant.AIC113_10_ZYNJZY:
                createIc69(orginfoin);

                myMap.put("bae038","IC69");
                break;
            default:
                throw new IllegalArgumentException("没有获取到对应的转出类型！");
        }
        myMap.put("bac617",this.aic113);
        myMap.putAll(this.transferPersons);
        myMap.put("aae270",orginfoin.getAsString("aae270"));
        //保存流程
        transferProcessService.createProcessTransfer(myMap);
        return null;
    }

    /**
     * 组装联系函aae140 aae241
     */
    public void getAae140Aae241(){
        NPETool.isEmptyThrowException(this.aic113,"养老保险转移制度方向");

        switch (this.aic113) {
            case Constant.AIC113_1_QYZGYLBXZDNZY:
                this.aae140=Constant.AAE140_110_QYZGJBYLBX;//转入
                this.aae241=Constant.AAE140_110_QYZGJBYLBX;//转出
                break;
            case Constant.AIC113_2_QYZGYLBXZDZJGSYDWYLBXZD:
                this.aae140=Constant.AAE140_120_JGSYDWGZRYJBYLBX;//转入
                this.aae241=Constant.AAE140_110_QYZGJBYLBX;//转出
                break;
            case Constant.AIC113_3_JGSYDWYLBXZDZQYZGYLBXZD:
                this.aae140=Constant.AAE140_110_QYZGJBYLBX;//转入
                this.aae241=Constant.AAE140_120_JGSYDWGZRYJBYLBX;//转出
                break;
            case Constant.AIC113_6_JGSYDWYLBXZDNZY:
                this.aae140=Constant.AAE140_120_JGSYDWGZRYJBYLBX;//转入
                this.aae241=Constant.AAE140_120_JGSYDWGZRYJBYLBX;//转出
                break;
            case Constant.AIC113_4_QYZGYLBXZDZCXJMJBYLZD:
                this.aae140=Constant.AAE140_170_CXJMJBYLBX;//转入
                this.aae241=Constant.AAE140_110_QYZGJBYLBX;//转出
                break;
            case Constant.AIC113_9_ZYNJZY:
                this.aae140=Constant.AAE140_180_ZYNJ;//转入
                this.aae241=Constant.AAE140_180_ZYNJ;//转出
                break;
            case Constant.AIC113_10_ZYNJZY:
                this.aae140=Constant.AAE140_120_JGSYDWGZRYJBYLBX;//转入
                this.aae241=Constant.AAE140_120_JGSYDWGZRYJBYLBX;//转出
                break;
            default:
                throw new IllegalArgumentException("没有获取到对应的转出类型！");
        }



    };

    /**
     * 创建企业联系函
     * @param info
     * @return
     */
    public Map createIc89(MyMap info) {
        TransferIc89 transferIc89 = new TransferIc89();

        Sequence sequence_aaz641 = new Sequence();
        sequence_aaz641.setName("aaz641");
        String aaz641 = sequenceService.nextSequence(sequence_aaz641);

        Sequence sequence_aaz341 = new Sequence();
        sequence_aaz341.setName("aaz341");
        String aaz341 = sequenceService.nextSequence(sequence_aaz341);
        transferIc89.setAaz641(aaz641);
        transferIc89.setAaz341(aaz341);
        transferIc89.setAab301(ValidateUtil.isEmpty(info.getAsString("aab301")) ? null : info.getAsString("aab301"));
        transferIc89.setAab299(this.aab359);
        transferIc89.setAae270(ValidateUtil.isEmpty(info.getAsString("aae270")) ? null : info.getAsString("aae270"));
        transferIc89.setAac319(ValidateUtil.isEmpty(info.getAsString("aac319")) ? null : info.getAsString("aac319"));
        transferIc89.setAac001(this.transferPersons.getAsString("aac001"));
        transferIc89.setAac002(this.transferPersons.getAsString("aac002"));
        transferIc89.setAac003(this.transferPersons.getAsString("aac003"));
        transferIc89.setAac004(this.transferPersons.getAsString("aac004"));
        transferIc89.setAac006(this.transferPersons.getAsBigDecimal("aac006"));
        transferIc89.setAac010(this.transferPersons.getAsString("aac010"));
        transferIc89.setAae009(ValidateUtil.isEmpty(info.getAsString("aae009")) ? null : info.getAsString("aae009"));
        transferIc89.setAac080(ValidateUtil.isEmpty(info.getAsString("aac080")) ? null : info.getAsString("aac080"));
        transferIc89.setAac155(ValidateUtil.isEmpty(info.getAsString("aac155")) ? null : info.getAsString("aac155"));
        transferIc89.setAac078(ValidateUtil.isEmpty(info.getAsString("aac078")) ? null : info.getAsString("aac078"));
        transferIc89.setAae005(ValidateUtil.isEmpty(info.getAsString("aae005")) ? null : info.getAsString("aae005"));
        transferIc89.setAae006(ValidateUtil.isEmpty(info.getAsString("aae006")) ? null : info.getAsString("aae006"));
        transferIc89.setAae007(ValidateUtil.isEmpty(info.getAsString("aae007")) ? null : info.getAsString("aae007"));
        transferIc89.setAae473(this.transferPersons.getAsString("aae473"));
        transferIc89.setAaa146(ValidateUtil.isEmpty(info.getAsString("aaa146")) ? null : info.getAsString("aaa146"));
        transferIc89.setAab300(ValidateUtil.isEmpty(info.getAsString("aab300")) ? null : info.getAsString("aab300"));
        transferIc89.setAae736(ValidateUtil.isEmpty(info.getAsString("aae736")) ? null : info.getAsString("aae736"));
        transferIc89.setAae739(ValidateUtil.isEmpty(info.getAsString("aae739")) ? null : new BigDecimal(info.getAsString("aae739")));
        transferIc89.setAac067(ValidateUtil.isEmpty(info.getAsString("aac067")) ? null : info.getAsString("aac067"));
        transferIc89.setAac306(this.aac306);
        transferIc89.setAaz159(this.transferPersons.getAsString("aaz159"));
        transferIc89.setAae731(ValidateUtil.isEmpty(info.getAsString("aae731")) ? null : info.getAsString("aae731"));
        transferIc89.setAae732(ValidateUtil.isEmpty(info.getAsString("aae732")) ? null : info.getAsString("aae732"));
        transferIc89.setAae013(ValidateUtil.isEmpty(info.getAsString("aae013")) ? null : info.getAsString("aae013"));
        transferIc89.setAae011(this.aae011);
        transferIc89.setAae036(new BigDecimal(DateUtil.getCurrentTime("yyyyMMddHHmmss")));
        transferIc89.setAab359(this.aab359);
        transferIc89.setAaz002(this.aaz002);

        transferIc89Service.save(transferIc89);


        return null;
    }


    /**
     * 创建机关联系函
     * @param info
     * @return
     */
    public Map createIc65(MyMap info) {
        TransferIc65 transferIc65 = new TransferIc65();

        Sequence sequence_aaz700 = new Sequence();
        sequence_aaz700.setName("aaz700");
        String aaz700 = sequenceService.nextSequence(sequence_aaz700);

        Sequence sequence_aaz341 = new Sequence();
        sequence_aaz341.setName("aaz341");
        String aaz341 = sequenceService.nextSequence(sequence_aaz341);
        transferIc65.setAaz700(aaz700);
        transferIc65.setAaz341(aaz341);
        transferIc65.setAab301(ValidateUtil.isEmpty(info.getAsString("aab301")) ? null : info.getAsString("aab301"));
        transferIc65.setAab299(this.aab359);
        transferIc65.setAae270(ValidateUtil.isEmpty(info.getAsString("aae270")) ? null : info.getAsString("aae270"));
        transferIc65.setAae140(this.aae140);
        transferIc65.setAae241(this.aae241);

        transferIc65.setAac319(ValidateUtil.isEmpty(info.getAsString("aac319")) ? null : info.getAsString("aac319"));
        transferIc65.setAac001(this.transferPersons.getAsString("aac001"));
        transferIc65.setAac002(this.transferPersons.getAsString("aac002"));
        transferIc65.setAac003(this.transferPersons.getAsString("aac003"));
        transferIc65.setAac004(this.transferPersons.getAsString("aac004"));
        transferIc65.setAac006(this.transferPersons.getAsBigDecimal("aac006"));
        transferIc65.setAac010(this.transferPersons.getAsString("aac010"));
        transferIc65.setAae009(ValidateUtil.isEmpty(info.getAsString("aae009")) ? null : info.getAsString("aae009"));
        transferIc65.setAac080(ValidateUtil.isEmpty(info.getAsString("aac080")) ? null : info.getAsString("aac080"));
        transferIc65.setAac155(ValidateUtil.isEmpty(info.getAsString("aac155")) ? null : info.getAsString("aac155"));
        transferIc65.setAac078(ValidateUtil.isEmpty(info.getAsString("aac078")) ? null : info.getAsString("aac078"));
        transferIc65.setAae005(ValidateUtil.isEmpty(info.getAsString("aae005")) ? null : info.getAsString("aae005"));
        transferIc65.setAae006(ValidateUtil.isEmpty(info.getAsString("aae006")) ? null : info.getAsString("aae006"));
        transferIc65.setAae007(ValidateUtil.isEmpty(info.getAsString("aae007")) ? null : info.getAsString("aae007"));

        transferIc65.setAaa146(ValidateUtil.isEmpty(info.getAsString("aaa146")) ? null : info.getAsString("aaa146"));
        transferIc65.setAab300(ValidateUtil.isEmpty(info.getAsString("aab300")) ? null : info.getAsString("aab300"));
        transferIc65.setAae736(ValidateUtil.isEmpty(info.getAsString("aae736")) ? null : info.getAsString("aae736"));
        transferIc65.setAae739(ValidateUtil.isEmpty(info.getAsString("aae739")) ? null : new BigDecimal(info.getAsString("aae739")));
        transferIc65.setAac067(ValidateUtil.isEmpty(info.getAsString("aac067")) ? null : info.getAsString("aac067"));
        transferIc65.setAac306(this.aac306);
        transferIc65.setAaz159(this.transferPersons.getAsString("aaz159"));
        transferIc65.setAae731(ValidateUtil.isEmpty(info.getAsString("aae731")) ? null : info.getAsString("aae731"));
        transferIc65.setAae732(ValidateUtil.isEmpty(info.getAsString("aae732")) ? null : info.getAsString("aae732"));
        transferIc65.setAae013(ValidateUtil.isEmpty(info.getAsString("aae013")) ? null : info.getAsString("aae013"));
        transferIc65.setAae011(this.aae011);
        transferIc65.setAae036(new BigDecimal(DateUtil.getCurrentTime("yyyyMMddHHmmss")));
        transferIc65.setAab359(this.aab359);
        transferIc65.setAaz002(this.aaz002);

        transferIc65Service.save(transferIc65);






        return null;
    }



    /**
     * 创建城乡联系函
     * @param info
     * @return
     */
    public Map createIc71(MyMap info) {
        TransferIc71 transferIc71 = new TransferIc71();

        Sequence sequence_aaz700 = new Sequence();
        sequence_aaz700.setName("aaz700");
        String aaz700 = sequenceService.nextSequence(sequence_aaz700);

        Sequence sequence_aaz341 = new Sequence();
        sequence_aaz341.setName("aaz341");
        String aaz341 = sequenceService.nextSequence(sequence_aaz341);
        transferIc71.setAaz755(aaz700);
        transferIc71.setAaz341(aaz341);
        transferIc71.setAab301(ValidateUtil.isEmpty(info.getAsString("aab301")) ? null : info.getAsString("aab301"));
        transferIc71.setAab299(this.aab359);
        transferIc71.setAae270(ValidateUtil.isEmpty(info.getAsString("aae270")) ? null : info.getAsString("aae270"));
        transferIc71.setAae140(this.aae140);
        transferIc71.setAae241(this.aae241);
        transferIc71.setAae473(this.transferPersons.getAsString("aae473"));
        transferIc71.setAac319(ValidateUtil.isEmpty(info.getAsString("aac319")) ? null : info.getAsString("aac319"));
        transferIc71.setAac001(this.transferPersons.getAsString("aac001"));
        transferIc71.setAac002(this.transferPersons.getAsString("aac002"));
        transferIc71.setAac003(this.transferPersons.getAsString("aac003"));
        transferIc71.setAac004(this.transferPersons.getAsString("aac004"));
        transferIc71.setAac010(this.transferPersons.getAsString("aac010"));
        transferIc71.setAae009(ValidateUtil.isEmpty(info.getAsString("aae009")) ? null : info.getAsString("aae009"));
        transferIc71.setAac080(ValidateUtil.isEmpty(info.getAsString("aac080")) ? null : info.getAsString("aac080"));
        transferIc71.setAac155(ValidateUtil.isEmpty(info.getAsString("aac155")) ? null : info.getAsString("aac155"));
        transferIc71.setAac078(ValidateUtil.isEmpty(info.getAsString("aac078")) ? null : info.getAsString("aac078"));
        transferIc71.setAae005(ValidateUtil.isEmpty(info.getAsString("aae005")) ? null : info.getAsString("aae005"));
        transferIc71.setAae006(ValidateUtil.isEmpty(info.getAsString("aae006")) ? null : info.getAsString("aae006"));
        transferIc71.setAae007(ValidateUtil.isEmpty(info.getAsString("aae007")) ? null : info.getAsString("aae007"));

        transferIc71.setAaa146(ValidateUtil.isEmpty(info.getAsString("aaa146")) ? null : info.getAsString("aaa146"));
        transferIc71.setAab300(ValidateUtil.isEmpty(info.getAsString("aab300")) ? null : info.getAsString("aab300"));
        transferIc71.setAae736(ValidateUtil.isEmpty(info.getAsString("aae736")) ? null : info.getAsString("aae736"));
        transferIc71.setAae739(ValidateUtil.isEmpty(info.getAsString("aae739")) ? null : new BigDecimal(info.getAsString("aae739")));
        transferIc71.setAac067(ValidateUtil.isEmpty(info.getAsString("aac067")) ? null : info.getAsString("aac067"));
        transferIc71.setAac306(this.aac306);
        transferIc71.setAaz159(this.transferPersons.getAsString("aaz159"));
        transferIc71.setAae731(ValidateUtil.isEmpty(info.getAsString("aae731")) ? null : info.getAsString("aae731"));
        transferIc71.setAae732(ValidateUtil.isEmpty(info.getAsString("aae732")) ? null : info.getAsString("aae732"));
        transferIc71.setAae013(ValidateUtil.isEmpty(info.getAsString("aae013")) ? null : info.getAsString("aae013"));
        transferIc71.setAae011(this.aae011);
        transferIc71.setAae036(new BigDecimal(DateUtil.getCurrentTime("yyyyMMddHHmmss")));
        transferIc71.setAab359(this.aab359);
        transferIc71.setAaz002(this.aaz002);

        transferIc71Service.save(transferIc71);






        return null;
    }


    /**
     * 创建职业年金联系函
     * @param info
     * @return
     */
    public Map createIc69(MyMap info) {
        TransferIc69 transferIc69 = new TransferIc69();


        Sequence sequence_aaz341 = new Sequence();
        sequence_aaz341.setName("aaz341");
        String aaz341 = sequenceService.nextSequence(sequence_aaz341);
        transferIc69.setAaz341(aaz341);
        transferIc69.setAaz159(this.transferPersons.getAsString("aaz159"));
        transferIc69.setAab301(ValidateUtil.isEmpty(info.getAsString("aab301")) ? null : info.getAsString("aab301"));
        transferIc69.setAab299(this.aab359);
        transferIc69.setAae270(ValidateUtil.isEmpty(info.getAsString("aae270")) ? null : info.getAsString("aae270"));
        transferIc69.setAae140(this.aae140);
        transferIc69.setAae241(this.aae241);
        transferIc69.setAac319(ValidateUtil.isEmpty(info.getAsString("aac319")) ? null : info.getAsString("aac319"));
        transferIc69.setAac001(this.transferPersons.getAsString("aac001"));
        transferIc69.setAac002(this.transferPersons.getAsString("aac002"));
        transferIc69.setAac003(this.transferPersons.getAsString("aac003"));
        transferIc69.setAac004(this.transferPersons.getAsString("aac004"));
        transferIc69.setAae009(ValidateUtil.isEmpty(info.getAsString("aae009")) ? null : info.getAsString("aae009"));
        transferIc69.setAae006(ValidateUtil.isEmpty(info.getAsString("aae006")) ? null : info.getAsString("aae006"));
        transferIc69.setAae007(ValidateUtil.isEmpty(info.getAsString("aae007")) ? null : info.getAsString("aae007"));
        transferIc69.setAae004(ValidateUtil.isEmpty(info.getAsString("aae004")) ? null : info.getAsString("aae004"));
        transferIc69.setAac077(ValidateUtil.isEmpty(info.getAsString("aac077")) ? null : info.getAsString("aac077"));
        transferIc69.setAac155(ValidateUtil.isEmpty(info.getAsString("aac155")) ? null : info.getAsString("aac155"));
        transferIc69.setAac078(ValidateUtil.isEmpty(info.getAsString("aac078")) ? null : info.getAsString("aac078"));
        transferIc69.setAac072(ValidateUtil.isEmpty(info.getAsString("aac072")) ? null : info.getAsString("aac072"));
        transferIc69.setAaf011(ValidateUtil.isEmpty(info.getAsString("aaf011")) ? null : info.getAsString("aaf011"));
        transferIc69.setAac073(ValidateUtil.isEmpty(info.getAsString("aac073")) ? null : info.getAsString("aac073"));
        transferIc69.setAae251(ValidateUtil.isEmpty(info.getAsString("aae251")) ? null : info.getAsString("aae251"));
        transferIc69.setAac306(this.aac306);


        transferIc69.setAae736(ValidateUtil.isEmpty(info.getAsString("aae736")) ? null : info.getAsString("aae736"));
        transferIc69.setAae739(ValidateUtil.isEmpty(info.getAsString("aae739")) ? null : new BigDecimal(info.getAsString("aae739")));

        transferIc69.setAae731(ValidateUtil.isEmpty(info.getAsString("aae731")) ? null : info.getAsString("aae731"));
        transferIc69.setAae732(ValidateUtil.isEmpty(info.getAsString("aae732")) ? null : info.getAsString("aae732"));
        transferIc69.setAae733(ValidateUtil.isEmpty(info.getAsString("aae733")) ? null : info.getAsString("aae733"));
        transferIc69.setAae013(ValidateUtil.isEmpty(info.getAsString("aae013")) ? null : info.getAsString("aae013"));
        transferIc69.setAae011(this.aae011);
        transferIc69.setAae036(new BigDecimal(DateUtil.getCurrentTime("yyyyMMddHHmmss")));
        transferIc69.setAab359(this.aab359);
        transferIc69.setAaz002(this.aaz002);
        transferIc69Service.save(transferIc69);

        return null;
    }
}
